<div class="row2" >
    <div class="">
        <h1>
            <small>
                Consulta de Usuários  
            </small>
        </h1>
    </div>   
</div>

<table width="100%"  class="table table-bordered table-hover" border="1px" cellspacing="0" cellpadding="0">

    <thead>
        <tr>
            <td width="9%" bgcolor="#f0f0f0"><center>Login</center></td>
<td width="39%" bgcolor="#f0f0f0"><center>Nome</center></td>
<td width="31%" bgcolor="#f0f0f0"><center>E-mail</center></td>
<td width="21%" bgcolor="#f0f0f0"><center>Ação</center></td>
</tr>
</thead>

<?php
foreach ($usuarios as $u) {
    ?>
    <tr>
        <td><?php echo $u->rf_login ?></td>
        <td><?php echo $u->rf_nome ?></td>
        <td><?php echo $u->rf_email ?></td>
        <td style="vertical-align: middle">
    <center>
        <a class="button small" href="<?php echo base_url('index.php/usuario/editar/' . $u->rf_id) ?>">Editar</a>
        <a class="button small alert" onClick="return confirm('Deseja remover o usuário?')"
           href="<?php echo base_url('index.php/usuario/remover/' . $u->rf_id) ?>">Remover</a>
    </center>
    </td>
    </tr>  
<?php } ?>

</table>
